<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- 
            v-bind 绑定标签的属性。
            v-bind: === :
         -->
        <!-- <img v-bind:src="url" alt=""> -->
        <!-- 
            动态绑定属性
         -->
        <img :src="url" alt="">
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.14/vue.js"></script>
    <script>
        const app = new Vue({
            el:"#app",
            data: {
                url: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fwww.pianshen.com%2Fimages%2F87%2Fc54a8a65791375c301b9577bf267dabf.png&refer=http%3A%2F%2Fwww.pianshen.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1646896683&t=1c8040e39fff4d3d36a7315be256ed52"
            }
        })
    </script>
</body>
</html>